package com.autohome.wz.business.mallOperation.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CfwUserOrderRiskRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CfwUserOrderRiskRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andDeviceIsNull() {
            addCriterion("device is null");
            return (Criteria) this;
        }

        public Criteria andDeviceIsNotNull() {
            addCriterion("device is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceEqualTo(String value) {
            addCriterion("device =", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceNotEqualTo(String value) {
            addCriterion("device <>", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceGreaterThan(String value) {
            addCriterion("device >", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceGreaterThanOrEqualTo(String value) {
            addCriterion("device >=", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceLessThan(String value) {
            addCriterion("device <", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceLessThanOrEqualTo(String value) {
            addCriterion("device <=", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceLike(String value) {
            addCriterion("device like", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceNotLike(String value) {
            addCriterion("device not like", value, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceIn(List<String> values) {
            addCriterion("device in", values, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceNotIn(List<String> values) {
            addCriterion("device not in", values, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceBetween(String value1, String value2) {
            addCriterion("device between", value1, value2, "device");
            return (Criteria) this;
        }

        public Criteria andDeviceNotBetween(String value1, String value2) {
            addCriterion("device not between", value1, value2, "device");
            return (Criteria) this;
        }

        public Criteria andRiskParamIsNull() {
            addCriterion("risk_param is null");
            return (Criteria) this;
        }

        public Criteria andRiskParamIsNotNull() {
            addCriterion("risk_param is not null");
            return (Criteria) this;
        }

        public Criteria andRiskParamEqualTo(String value) {
            addCriterion("risk_param =", value, "riskParam");
            return (Criteria) this;
        }

        public Criteria andRiskParamNotEqualTo(String value) {
            addCriterion("risk_param <>", value, "riskParam");
            return (Criteria) this;
        }

        public Criteria andRiskParamGreaterThan(String value) {
            addCriterion("risk_param >", value, "riskParam");
            return (Criteria) this;
        }

        public Criteria andRiskParamGreaterThanOrEqualTo(String value) {
            addCriterion("risk_param >=", value, "riskParam");
            return (Criteria) this;
        }

        public Criteria andRiskParamLessThan(String value) {
            addCriterion("risk_param <", value, "riskParam");
            return (Criteria) this;
        }

        public Criteria andRiskParamLessThanOrEqualTo(String value) {
            addCriterion("risk_param <=", value, "riskParam");
            return (Criteria) this;
        }

        public Criteria andRiskParamLike(String value) {
            addCriterion("risk_param like", value, "riskParam");
            return (Criteria) this;
        }

        public Criteria andRiskParamNotLike(String value) {
            addCriterion("risk_param not like", value, "riskParam");
            return (Criteria) this;
        }

        public Criteria andRiskParamIn(List<String> values) {
            addCriterion("risk_param in", values, "riskParam");
            return (Criteria) this;
        }

        public Criteria andRiskParamNotIn(List<String> values) {
            addCriterion("risk_param not in", values, "riskParam");
            return (Criteria) this;
        }

        public Criteria andRiskParamBetween(String value1, String value2) {
            addCriterion("risk_param between", value1, value2, "riskParam");
            return (Criteria) this;
        }

        public Criteria andRiskParamNotBetween(String value1, String value2) {
            addCriterion("risk_param not between", value1, value2, "riskParam");
            return (Criteria) this;
        }

        public Criteria andRiskResponseContentIsNull() {
            addCriterion("risk_response_content is null");
            return (Criteria) this;
        }

        public Criteria andRiskResponseContentIsNotNull() {
            addCriterion("risk_response_content is not null");
            return (Criteria) this;
        }

        public Criteria andRiskResponseContentEqualTo(String value) {
            addCriterion("risk_response_content =", value, "riskResponseContent");
            return (Criteria) this;
        }

        public Criteria andRiskResponseContentNotEqualTo(String value) {
            addCriterion("risk_response_content <>", value, "riskResponseContent");
            return (Criteria) this;
        }

        public Criteria andRiskResponseContentGreaterThan(String value) {
            addCriterion("risk_response_content >", value, "riskResponseContent");
            return (Criteria) this;
        }

        public Criteria andRiskResponseContentGreaterThanOrEqualTo(String value) {
            addCriterion("risk_response_content >=", value, "riskResponseContent");
            return (Criteria) this;
        }

        public Criteria andRiskResponseContentLessThan(String value) {
            addCriterion("risk_response_content <", value, "riskResponseContent");
            return (Criteria) this;
        }

        public Criteria andRiskResponseContentLessThanOrEqualTo(String value) {
            addCriterion("risk_response_content <=", value, "riskResponseContent");
            return (Criteria) this;
        }

        public Criteria andRiskResponseContentLike(String value) {
            addCriterion("risk_response_content like", value, "riskResponseContent");
            return (Criteria) this;
        }

        public Criteria andRiskResponseContentNotLike(String value) {
            addCriterion("risk_response_content not like", value, "riskResponseContent");
            return (Criteria) this;
        }

        public Criteria andRiskResponseContentIn(List<String> values) {
            addCriterion("risk_response_content in", values, "riskResponseContent");
            return (Criteria) this;
        }

        public Criteria andRiskResponseContentNotIn(List<String> values) {
            addCriterion("risk_response_content not in", values, "riskResponseContent");
            return (Criteria) this;
        }

        public Criteria andRiskResponseContentBetween(String value1, String value2) {
            addCriterion("risk_response_content between", value1, value2, "riskResponseContent");
            return (Criteria) this;
        }

        public Criteria andRiskResponseContentNotBetween(String value1, String value2) {
            addCriterion("risk_response_content not between", value1, value2, "riskResponseContent");
            return (Criteria) this;
        }

        public Criteria andRiskStateIsNull() {
            addCriterion("risk_state is null");
            return (Criteria) this;
        }

        public Criteria andRiskStateIsNotNull() {
            addCriterion("risk_state is not null");
            return (Criteria) this;
        }

        public Criteria andRiskStateEqualTo(String value) {
            addCriterion("risk_state =", value, "riskState");
            return (Criteria) this;
        }

        public Criteria andRiskStateNotEqualTo(String value) {
            addCriterion("risk_state <>", value, "riskState");
            return (Criteria) this;
        }

        public Criteria andRiskStateGreaterThan(String value) {
            addCriterion("risk_state >", value, "riskState");
            return (Criteria) this;
        }

        public Criteria andRiskStateGreaterThanOrEqualTo(String value) {
            addCriterion("risk_state >=", value, "riskState");
            return (Criteria) this;
        }

        public Criteria andRiskStateLessThan(String value) {
            addCriterion("risk_state <", value, "riskState");
            return (Criteria) this;
        }

        public Criteria andRiskStateLessThanOrEqualTo(String value) {
            addCriterion("risk_state <=", value, "riskState");
            return (Criteria) this;
        }

        public Criteria andRiskStateLike(String value) {
            addCriterion("risk_state like", value, "riskState");
            return (Criteria) this;
        }

        public Criteria andRiskStateNotLike(String value) {
            addCriterion("risk_state not like", value, "riskState");
            return (Criteria) this;
        }

        public Criteria andRiskStateIn(List<String> values) {
            addCriterion("risk_state in", values, "riskState");
            return (Criteria) this;
        }

        public Criteria andRiskStateNotIn(List<String> values) {
            addCriterion("risk_state not in", values, "riskState");
            return (Criteria) this;
        }

        public Criteria andRiskStateBetween(String value1, String value2) {
            addCriterion("risk_state between", value1, value2, "riskState");
            return (Criteria) this;
        }

        public Criteria andRiskStateNotBetween(String value1, String value2) {
            addCriterion("risk_state not between", value1, value2, "riskState");
            return (Criteria) this;
        }

        public Criteria andCaptchaStateIsNull() {
            addCriterion("captcha_state is null");
            return (Criteria) this;
        }

        public Criteria andCaptchaStateIsNotNull() {
            addCriterion("captcha_state is not null");
            return (Criteria) this;
        }

        public Criteria andCaptchaStateEqualTo(Integer value) {
            addCriterion("captcha_state =", value, "captchaState");
            return (Criteria) this;
        }

        public Criteria andCaptchaStateNotEqualTo(Integer value) {
            addCriterion("captcha_state <>", value, "captchaState");
            return (Criteria) this;
        }

        public Criteria andCaptchaStateGreaterThan(Integer value) {
            addCriterion("captcha_state >", value, "captchaState");
            return (Criteria) this;
        }

        public Criteria andCaptchaStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("captcha_state >=", value, "captchaState");
            return (Criteria) this;
        }

        public Criteria andCaptchaStateLessThan(Integer value) {
            addCriterion("captcha_state <", value, "captchaState");
            return (Criteria) this;
        }

        public Criteria andCaptchaStateLessThanOrEqualTo(Integer value) {
            addCriterion("captcha_state <=", value, "captchaState");
            return (Criteria) this;
        }

        public Criteria andCaptchaStateIn(List<Integer> values) {
            addCriterion("captcha_state in", values, "captchaState");
            return (Criteria) this;
        }

        public Criteria andCaptchaStateNotIn(List<Integer> values) {
            addCriterion("captcha_state not in", values, "captchaState");
            return (Criteria) this;
        }

        public Criteria andCaptchaStateBetween(Integer value1, Integer value2) {
            addCriterion("captcha_state between", value1, value2, "captchaState");
            return (Criteria) this;
        }

        public Criteria andCaptchaStateNotBetween(Integer value1, Integer value2) {
            addCriterion("captcha_state not between", value1, value2, "captchaState");
            return (Criteria) this;
        }

        public Criteria andUseCouponIsNull() {
            addCriterion("use_coupon is null");
            return (Criteria) this;
        }

        public Criteria andUseCouponIsNotNull() {
            addCriterion("use_coupon is not null");
            return (Criteria) this;
        }

        public Criteria andUseCouponEqualTo(Integer value) {
            addCriterion("use_coupon =", value, "useCoupon");
            return (Criteria) this;
        }

        public Criteria andUseCouponNotEqualTo(Integer value) {
            addCriterion("use_coupon <>", value, "useCoupon");
            return (Criteria) this;
        }

        public Criteria andUseCouponGreaterThan(Integer value) {
            addCriterion("use_coupon >", value, "useCoupon");
            return (Criteria) this;
        }

        public Criteria andUseCouponGreaterThanOrEqualTo(Integer value) {
            addCriterion("use_coupon >=", value, "useCoupon");
            return (Criteria) this;
        }

        public Criteria andUseCouponLessThan(Integer value) {
            addCriterion("use_coupon <", value, "useCoupon");
            return (Criteria) this;
        }

        public Criteria andUseCouponLessThanOrEqualTo(Integer value) {
            addCriterion("use_coupon <=", value, "useCoupon");
            return (Criteria) this;
        }

        public Criteria andUseCouponIn(List<Integer> values) {
            addCriterion("use_coupon in", values, "useCoupon");
            return (Criteria) this;
        }

        public Criteria andUseCouponNotIn(List<Integer> values) {
            addCriterion("use_coupon not in", values, "useCoupon");
            return (Criteria) this;
        }

        public Criteria andUseCouponBetween(Integer value1, Integer value2) {
            addCriterion("use_coupon between", value1, value2, "useCoupon");
            return (Criteria) this;
        }

        public Criteria andUseCouponNotBetween(Integer value1, Integer value2) {
            addCriterion("use_coupon not between", value1, value2, "useCoupon");
            return (Criteria) this;
        }

        public Criteria andOrdernumIsNull() {
            addCriterion("ordernum is null");
            return (Criteria) this;
        }

        public Criteria andOrdernumIsNotNull() {
            addCriterion("ordernum is not null");
            return (Criteria) this;
        }

        public Criteria andOrdernumEqualTo(String value) {
            addCriterion("ordernum =", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotEqualTo(String value) {
            addCriterion("ordernum <>", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumGreaterThan(String value) {
            addCriterion("ordernum >", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumGreaterThanOrEqualTo(String value) {
            addCriterion("ordernum >=", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumLessThan(String value) {
            addCriterion("ordernum <", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumLessThanOrEqualTo(String value) {
            addCriterion("ordernum <=", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumLike(String value) {
            addCriterion("ordernum like", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotLike(String value) {
            addCriterion("ordernum not like", value, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumIn(List<String> values) {
            addCriterion("ordernum in", values, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotIn(List<String> values) {
            addCriterion("ordernum not in", values, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumBetween(String value1, String value2) {
            addCriterion("ordernum between", value1, value2, "ordernum");
            return (Criteria) this;
        }

        public Criteria andOrdernumNotBetween(String value1, String value2) {
            addCriterion("ordernum not between", value1, value2, "ordernum");
            return (Criteria) this;
        }

        public Criteria andSellerIdIsNull() {
            addCriterion("seller_id is null");
            return (Criteria) this;
        }

        public Criteria andSellerIdIsNotNull() {
            addCriterion("seller_id is not null");
            return (Criteria) this;
        }

        public Criteria andSellerIdEqualTo(Integer value) {
            addCriterion("seller_id =", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdNotEqualTo(Integer value) {
            addCriterion("seller_id <>", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdGreaterThan(Integer value) {
            addCriterion("seller_id >", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("seller_id >=", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdLessThan(Integer value) {
            addCriterion("seller_id <", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdLessThanOrEqualTo(Integer value) {
            addCriterion("seller_id <=", value, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdIn(List<Integer> values) {
            addCriterion("seller_id in", values, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdNotIn(List<Integer> values) {
            addCriterion("seller_id not in", values, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdBetween(Integer value1, Integer value2) {
            addCriterion("seller_id between", value1, value2, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("seller_id not between", value1, value2, "sellerId");
            return (Criteria) this;
        }

        public Criteria andSellerNameIsNull() {
            addCriterion("seller_name is null");
            return (Criteria) this;
        }

        public Criteria andSellerNameIsNotNull() {
            addCriterion("seller_name is not null");
            return (Criteria) this;
        }

        public Criteria andSellerNameEqualTo(String value) {
            addCriterion("seller_name =", value, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameNotEqualTo(String value) {
            addCriterion("seller_name <>", value, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameGreaterThan(String value) {
            addCriterion("seller_name >", value, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameGreaterThanOrEqualTo(String value) {
            addCriterion("seller_name >=", value, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameLessThan(String value) {
            addCriterion("seller_name <", value, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameLessThanOrEqualTo(String value) {
            addCriterion("seller_name <=", value, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameLike(String value) {
            addCriterion("seller_name like", value, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameNotLike(String value) {
            addCriterion("seller_name not like", value, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameIn(List<String> values) {
            addCriterion("seller_name in", values, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameNotIn(List<String> values) {
            addCriterion("seller_name not in", values, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameBetween(String value1, String value2) {
            addCriterion("seller_name between", value1, value2, "sellerName");
            return (Criteria) this;
        }

        public Criteria andSellerNameNotBetween(String value1, String value2) {
            addCriterion("seller_name not between", value1, value2, "sellerName");
            return (Criteria) this;
        }

        public Criteria andStationIdIsNull() {
            addCriterion("station_id is null");
            return (Criteria) this;
        }

        public Criteria andStationIdIsNotNull() {
            addCriterion("station_id is not null");
            return (Criteria) this;
        }

        public Criteria andStationIdEqualTo(Integer value) {
            addCriterion("station_id =", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdNotEqualTo(Integer value) {
            addCriterion("station_id <>", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdGreaterThan(Integer value) {
            addCriterion("station_id >", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("station_id >=", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdLessThan(Integer value) {
            addCriterion("station_id <", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdLessThanOrEqualTo(Integer value) {
            addCriterion("station_id <=", value, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdIn(List<Integer> values) {
            addCriterion("station_id in", values, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdNotIn(List<Integer> values) {
            addCriterion("station_id not in", values, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdBetween(Integer value1, Integer value2) {
            addCriterion("station_id between", value1, value2, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationIdNotBetween(Integer value1, Integer value2) {
            addCriterion("station_id not between", value1, value2, "stationId");
            return (Criteria) this;
        }

        public Criteria andStationNameIsNull() {
            addCriterion("station_name is null");
            return (Criteria) this;
        }

        public Criteria andStationNameIsNotNull() {
            addCriterion("station_name is not null");
            return (Criteria) this;
        }

        public Criteria andStationNameEqualTo(String value) {
            addCriterion("station_name =", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameNotEqualTo(String value) {
            addCriterion("station_name <>", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameGreaterThan(String value) {
            addCriterion("station_name >", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameGreaterThanOrEqualTo(String value) {
            addCriterion("station_name >=", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameLessThan(String value) {
            addCriterion("station_name <", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameLessThanOrEqualTo(String value) {
            addCriterion("station_name <=", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameLike(String value) {
            addCriterion("station_name like", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameNotLike(String value) {
            addCriterion("station_name not like", value, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameIn(List<String> values) {
            addCriterion("station_name in", values, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameNotIn(List<String> values) {
            addCriterion("station_name not in", values, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameBetween(String value1, String value2) {
            addCriterion("station_name between", value1, value2, "stationName");
            return (Criteria) this;
        }

        public Criteria andStationNameNotBetween(String value1, String value2) {
            addCriterion("station_name not between", value1, value2, "stationName");
            return (Criteria) this;
        }

        public Criteria andBuytimeIsNull() {
            addCriterion("buytime is null");
            return (Criteria) this;
        }

        public Criteria andBuytimeIsNotNull() {
            addCriterion("buytime is not null");
            return (Criteria) this;
        }

        public Criteria andBuytimeEqualTo(Date value) {
            addCriterion("buytime =", value, "buytime");
            return (Criteria) this;
        }

        public Criteria andBuytimeNotEqualTo(Date value) {
            addCriterion("buytime <>", value, "buytime");
            return (Criteria) this;
        }

        public Criteria andBuytimeGreaterThan(Date value) {
            addCriterion("buytime >", value, "buytime");
            return (Criteria) this;
        }

        public Criteria andBuytimeGreaterThanOrEqualTo(Date value) {
            addCriterion("buytime >=", value, "buytime");
            return (Criteria) this;
        }

        public Criteria andBuytimeLessThan(Date value) {
            addCriterion("buytime <", value, "buytime");
            return (Criteria) this;
        }

        public Criteria andBuytimeLessThanOrEqualTo(Date value) {
            addCriterion("buytime <=", value, "buytime");
            return (Criteria) this;
        }

        public Criteria andBuytimeIn(List<Date> values) {
            addCriterion("buytime in", values, "buytime");
            return (Criteria) this;
        }

        public Criteria andBuytimeNotIn(List<Date> values) {
            addCriterion("buytime not in", values, "buytime");
            return (Criteria) this;
        }

        public Criteria andBuytimeBetween(Date value1, Date value2) {
            addCriterion("buytime between", value1, value2, "buytime");
            return (Criteria) this;
        }

        public Criteria andBuytimeNotBetween(Date value1, Date value2) {
            addCriterion("buytime not between", value1, value2, "buytime");
            return (Criteria) this;
        }

        public Criteria andOrderpriceIsNull() {
            addCriterion("orderprice is null");
            return (Criteria) this;
        }

        public Criteria andOrderpriceIsNotNull() {
            addCriterion("orderprice is not null");
            return (Criteria) this;
        }

        public Criteria andOrderpriceEqualTo(BigDecimal value) {
            addCriterion("orderprice =", value, "orderprice");
            return (Criteria) this;
        }

        public Criteria andOrderpriceNotEqualTo(BigDecimal value) {
            addCriterion("orderprice <>", value, "orderprice");
            return (Criteria) this;
        }

        public Criteria andOrderpriceGreaterThan(BigDecimal value) {
            addCriterion("orderprice >", value, "orderprice");
            return (Criteria) this;
        }

        public Criteria andOrderpriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("orderprice >=", value, "orderprice");
            return (Criteria) this;
        }

        public Criteria andOrderpriceLessThan(BigDecimal value) {
            addCriterion("orderprice <", value, "orderprice");
            return (Criteria) this;
        }

        public Criteria andOrderpriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("orderprice <=", value, "orderprice");
            return (Criteria) this;
        }

        public Criteria andOrderpriceIn(List<BigDecimal> values) {
            addCriterion("orderprice in", values, "orderprice");
            return (Criteria) this;
        }

        public Criteria andOrderpriceNotIn(List<BigDecimal> values) {
            addCriterion("orderprice not in", values, "orderprice");
            return (Criteria) this;
        }

        public Criteria andOrderpriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("orderprice between", value1, value2, "orderprice");
            return (Criteria) this;
        }

        public Criteria andOrderpriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("orderprice not between", value1, value2, "orderprice");
            return (Criteria) this;
        }

        public Criteria andActualpaymentIsNull() {
            addCriterion("actualpayment is null");
            return (Criteria) this;
        }

        public Criteria andActualpaymentIsNotNull() {
            addCriterion("actualpayment is not null");
            return (Criteria) this;
        }

        public Criteria andActualpaymentEqualTo(BigDecimal value) {
            addCriterion("actualpayment =", value, "actualpayment");
            return (Criteria) this;
        }

        public Criteria andActualpaymentNotEqualTo(BigDecimal value) {
            addCriterion("actualpayment <>", value, "actualpayment");
            return (Criteria) this;
        }

        public Criteria andActualpaymentGreaterThan(BigDecimal value) {
            addCriterion("actualpayment >", value, "actualpayment");
            return (Criteria) this;
        }

        public Criteria andActualpaymentGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("actualpayment >=", value, "actualpayment");
            return (Criteria) this;
        }

        public Criteria andActualpaymentLessThan(BigDecimal value) {
            addCriterion("actualpayment <", value, "actualpayment");
            return (Criteria) this;
        }

        public Criteria andActualpaymentLessThanOrEqualTo(BigDecimal value) {
            addCriterion("actualpayment <=", value, "actualpayment");
            return (Criteria) this;
        }

        public Criteria andActualpaymentIn(List<BigDecimal> values) {
            addCriterion("actualpayment in", values, "actualpayment");
            return (Criteria) this;
        }

        public Criteria andActualpaymentNotIn(List<BigDecimal> values) {
            addCriterion("actualpayment not in", values, "actualpayment");
            return (Criteria) this;
        }

        public Criteria andActualpaymentBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("actualpayment between", value1, value2, "actualpayment");
            return (Criteria) this;
        }

        public Criteria andActualpaymentNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("actualpayment not between", value1, value2, "actualpayment");
            return (Criteria) this;
        }

        public Criteria andCouponAmoutIsNull() {
            addCriterion("coupon_amout is null");
            return (Criteria) this;
        }

        public Criteria andCouponAmoutIsNotNull() {
            addCriterion("coupon_amout is not null");
            return (Criteria) this;
        }

        public Criteria andCouponAmoutEqualTo(BigDecimal value) {
            addCriterion("coupon_amout =", value, "couponAmout");
            return (Criteria) this;
        }

        public Criteria andCouponAmoutNotEqualTo(BigDecimal value) {
            addCriterion("coupon_amout <>", value, "couponAmout");
            return (Criteria) this;
        }

        public Criteria andCouponAmoutGreaterThan(BigDecimal value) {
            addCriterion("coupon_amout >", value, "couponAmout");
            return (Criteria) this;
        }

        public Criteria andCouponAmoutGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("coupon_amout >=", value, "couponAmout");
            return (Criteria) this;
        }

        public Criteria andCouponAmoutLessThan(BigDecimal value) {
            addCriterion("coupon_amout <", value, "couponAmout");
            return (Criteria) this;
        }

        public Criteria andCouponAmoutLessThanOrEqualTo(BigDecimal value) {
            addCriterion("coupon_amout <=", value, "couponAmout");
            return (Criteria) this;
        }

        public Criteria andCouponAmoutIn(List<BigDecimal> values) {
            addCriterion("coupon_amout in", values, "couponAmout");
            return (Criteria) this;
        }

        public Criteria andCouponAmoutNotIn(List<BigDecimal> values) {
            addCriterion("coupon_amout not in", values, "couponAmout");
            return (Criteria) this;
        }

        public Criteria andCouponAmoutBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("coupon_amout between", value1, value2, "couponAmout");
            return (Criteria) this;
        }

        public Criteria andCouponAmoutNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("coupon_amout not between", value1, value2, "couponAmout");
            return (Criteria) this;
        }

        public Criteria andDownPriceIsNull() {
            addCriterion("down_price is null");
            return (Criteria) this;
        }

        public Criteria andDownPriceIsNotNull() {
            addCriterion("down_price is not null");
            return (Criteria) this;
        }

        public Criteria andDownPriceEqualTo(BigDecimal value) {
            addCriterion("down_price =", value, "downPrice");
            return (Criteria) this;
        }

        public Criteria andDownPriceNotEqualTo(BigDecimal value) {
            addCriterion("down_price <>", value, "downPrice");
            return (Criteria) this;
        }

        public Criteria andDownPriceGreaterThan(BigDecimal value) {
            addCriterion("down_price >", value, "downPrice");
            return (Criteria) this;
        }

        public Criteria andDownPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("down_price >=", value, "downPrice");
            return (Criteria) this;
        }

        public Criteria andDownPriceLessThan(BigDecimal value) {
            addCriterion("down_price <", value, "downPrice");
            return (Criteria) this;
        }

        public Criteria andDownPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("down_price <=", value, "downPrice");
            return (Criteria) this;
        }

        public Criteria andDownPriceIn(List<BigDecimal> values) {
            addCriterion("down_price in", values, "downPrice");
            return (Criteria) this;
        }

        public Criteria andDownPriceNotIn(List<BigDecimal> values) {
            addCriterion("down_price not in", values, "downPrice");
            return (Criteria) this;
        }

        public Criteria andDownPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("down_price between", value1, value2, "downPrice");
            return (Criteria) this;
        }

        public Criteria andDownPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("down_price not between", value1, value2, "downPrice");
            return (Criteria) this;
        }

        public Criteria andPetroCouponAmoutIsNull() {
            addCriterion("petro_coupon_amout is null");
            return (Criteria) this;
        }

        public Criteria andPetroCouponAmoutIsNotNull() {
            addCriterion("petro_coupon_amout is not null");
            return (Criteria) this;
        }

        public Criteria andPetroCouponAmoutEqualTo(BigDecimal value) {
            addCriterion("petro_coupon_amout =", value, "petroCouponAmout");
            return (Criteria) this;
        }

        public Criteria andPetroCouponAmoutNotEqualTo(BigDecimal value) {
            addCriterion("petro_coupon_amout <>", value, "petroCouponAmout");
            return (Criteria) this;
        }

        public Criteria andPetroCouponAmoutGreaterThan(BigDecimal value) {
            addCriterion("petro_coupon_amout >", value, "petroCouponAmout");
            return (Criteria) this;
        }

        public Criteria andPetroCouponAmoutGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("petro_coupon_amout >=", value, "petroCouponAmout");
            return (Criteria) this;
        }

        public Criteria andPetroCouponAmoutLessThan(BigDecimal value) {
            addCriterion("petro_coupon_amout <", value, "petroCouponAmout");
            return (Criteria) this;
        }

        public Criteria andPetroCouponAmoutLessThanOrEqualTo(BigDecimal value) {
            addCriterion("petro_coupon_amout <=", value, "petroCouponAmout");
            return (Criteria) this;
        }

        public Criteria andPetroCouponAmoutIn(List<BigDecimal> values) {
            addCriterion("petro_coupon_amout in", values, "petroCouponAmout");
            return (Criteria) this;
        }

        public Criteria andPetroCouponAmoutNotIn(List<BigDecimal> values) {
            addCriterion("petro_coupon_amout not in", values, "petroCouponAmout");
            return (Criteria) this;
        }

        public Criteria andPetroCouponAmoutBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("petro_coupon_amout between", value1, value2, "petroCouponAmout");
            return (Criteria) this;
        }

        public Criteria andPetroCouponAmoutNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("petro_coupon_amout not between", value1, value2, "petroCouponAmout");
            return (Criteria) this;
        }

        public Criteria andIsDelIsNull() {
            addCriterion("is_del is null");
            return (Criteria) this;
        }

        public Criteria andIsDelIsNotNull() {
            addCriterion("is_del is not null");
            return (Criteria) this;
        }

        public Criteria andIsDelEqualTo(Integer value) {
            addCriterion("is_del =", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotEqualTo(Integer value) {
            addCriterion("is_del <>", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelGreaterThan(Integer value) {
            addCriterion("is_del >", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_del >=", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLessThan(Integer value) {
            addCriterion("is_del <", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLessThanOrEqualTo(Integer value) {
            addCriterion("is_del <=", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelIn(List<Integer> values) {
            addCriterion("is_del in", values, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotIn(List<Integer> values) {
            addCriterion("is_del not in", values, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelBetween(Integer value1, Integer value2) {
            addCriterion("is_del between", value1, value2, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotBetween(Integer value1, Integer value2) {
            addCriterion("is_del not between", value1, value2, "isDel");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeIsNull() {
            addCriterion("Created_Stime is null");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeIsNotNull() {
            addCriterion("Created_Stime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeEqualTo(Date value) {
            addCriterion("Created_Stime =", value, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeNotEqualTo(Date value) {
            addCriterion("Created_Stime <>", value, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeGreaterThan(Date value) {
            addCriterion("Created_Stime >", value, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeGreaterThanOrEqualTo(Date value) {
            addCriterion("Created_Stime >=", value, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeLessThan(Date value) {
            addCriterion("Created_Stime <", value, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeLessThanOrEqualTo(Date value) {
            addCriterion("Created_Stime <=", value, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeIn(List<Date> values) {
            addCriterion("Created_Stime in", values, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeNotIn(List<Date> values) {
            addCriterion("Created_Stime not in", values, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeBetween(Date value1, Date value2) {
            addCriterion("Created_Stime between", value1, value2, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeNotBetween(Date value1, Date value2) {
            addCriterion("Created_Stime not between", value1, value2, "createdStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeIsNull() {
            addCriterion("Modified_Stime is null");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeIsNotNull() {
            addCriterion("Modified_Stime is not null");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeEqualTo(Date value) {
            addCriterion("Modified_Stime =", value, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeNotEqualTo(Date value) {
            addCriterion("Modified_Stime <>", value, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeGreaterThan(Date value) {
            addCriterion("Modified_Stime >", value, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeGreaterThanOrEqualTo(Date value) {
            addCriterion("Modified_Stime >=", value, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeLessThan(Date value) {
            addCriterion("Modified_Stime <", value, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeLessThanOrEqualTo(Date value) {
            addCriterion("Modified_Stime <=", value, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeIn(List<Date> values) {
            addCriterion("Modified_Stime in", values, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeNotIn(List<Date> values) {
            addCriterion("Modified_Stime not in", values, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeBetween(Date value1, Date value2) {
            addCriterion("Modified_Stime between", value1, value2, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeNotBetween(Date value1, Date value2) {
            addCriterion("Modified_Stime not between", value1, value2, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andDeviceLikeInsensitive(String value) {
            addCriterion("upper(device) like", value.toUpperCase(), "device");
            return (Criteria) this;
        }

        public Criteria andRiskParamLikeInsensitive(String value) {
            addCriterion("upper(risk_param) like", value.toUpperCase(), "riskParam");
            return (Criteria) this;
        }

        public Criteria andRiskResponseContentLikeInsensitive(String value) {
            addCriterion("upper(risk_response_content) like", value.toUpperCase(), "riskResponseContent");
            return (Criteria) this;
        }

        public Criteria andRiskStateLikeInsensitive(String value) {
            addCriterion("upper(risk_state) like", value.toUpperCase(), "riskState");
            return (Criteria) this;
        }

        public Criteria andOrdernumLikeInsensitive(String value) {
            addCriterion("upper(ordernum) like", value.toUpperCase(), "ordernum");
            return (Criteria) this;
        }

        public Criteria andSellerNameLikeInsensitive(String value) {
            addCriterion("upper(seller_name) like", value.toUpperCase(), "sellerName");
            return (Criteria) this;
        }

        public Criteria andStationNameLikeInsensitive(String value) {
            addCriterion("upper(station_name) like", value.toUpperCase(), "stationName");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}